<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			let n1 = + prompt('请输入第一个数',0);
			let n2 = + prompt('请输入第2个数',0);
			let n3 = + prompt('请输入第3个数',0);
			let n4 = + prompt('请输入第4个数',0);
			let n5 = + prompt('请输入第5个数',0);
			let n6 = + prompt('请输入第6个数',0);
		
			let max = n1;
			
			if(n2>max)
				max = n2;
			if(n3>max)
				max = n3;
			if(n4>max)
				max = n4;
			if(n5>max)
				max = n5;
			if(n6>max)
				max = n6;
				
			console.log(max);
		</script>
	</body>
</html>